Chain up enter and leave notify handlers
authorMatthias Clasen <matthiasc@src.gnome.org>
Tue, 11 Nov 2008 18:10:20 +0000 (18:10 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 11 Nov 2008 18:10:20 +0000 (18:10 +0000)
svn path=/trunk/; revision=21781

ChangeLog
gtk/gtkspinbutton.c

index 890ffdc8e3a3e19c1f21b28d8420b2fe49f809b0..7e55ec4bb1063a7ff5ca8259e6ad3dcb5a641523 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-11-11  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkspinbutton.c: Chain up in enter and leave notify handlers.
+
 2008-11-11  Michael Natterer  <mitch@imendio.com>
 
        Bug 553765 – Add orientation API to GtkRange
index a6ef87b8d5127a2d8f8efe070b16554385b23e06..b24d985769815a1c2ff6659330c4d63fb1741b2c 100644 (file)
@@ -915,7 +915,10 @@ gtk_spin_button_enter_notify (GtkWidget        *widget,
 
       gtk_widget_queue_draw (GTK_WIDGET (spin));
     }
-  
+  if (GTK_WIDGET_CLASS (gtk_spin_button_parent_class)->enter_notify_event)
+    return GTK_WIDGET_CLASS (gtk_spin_button_parent_class)->enter_notify_event (widget, event);
+
   return FALSE;
 }
 
@@ -927,7 +930,10 @@ gtk_spin_button_leave_notify (GtkWidget        *widget,
 
   spin->in_child = NO_ARROW;
   gtk_widget_queue_draw (GTK_WIDGET (spin));
-  
+  if (GTK_WIDGET_CLASS (gtk_spin_button_parent_class)->leave_notify_event)
+    return GTK_WIDGET_CLASS (gtk_spin_button_parent_class)->leave_notify_event (widget, event);
+
   return FALSE;
 }